package com.cssy.xxkj.logic.dao;

import java.util.List;

import com.cssy.xxkj.logic.entity.LogicPurchaseReturnDO;

/**
 * 数据访问对象接口
 * @since 2014-09-23
 */
public interface LogicPurchaseReturnDAO extends LogicBizDAO<LogicPurchaseReturnDO>{

    /**
     * 插入数据
     * @param logicPurchaseReturnDO
     * @return 插入数据的主键
     */
    public String insertLogicPurchaseReturnDO(LogicPurchaseReturnDO logicPurchaseReturnDO);

    /**
     * 统计记录数
     * @param logicPurchaseReturnDO
     * @return 查出的记录数
     */
    public Integer countLogicPurchaseReturnDOByExample(LogicPurchaseReturnDO logicPurchaseReturnDO);

    /**
     * 更新记录
     * @param logicPurchaseReturnDO
     * @return 受影响的行数
     */
    public Integer updateLogicPurchaseReturnDO(LogicPurchaseReturnDO logicPurchaseReturnDO);

    /**
     * 获取对象列表
     * @param logicPurchaseReturnDO
     * @return 对象列表
     */
    public List<LogicPurchaseReturnDO> findListByExample(LogicPurchaseReturnDO logicPurchaseReturnDO);

    /**
     * 根据主键获取logicPurchaseReturnDO
     * @param id
     * @return logicPurchaseReturnDO
     */
    public LogicPurchaseReturnDO findLogicPurchaseReturnDOByPrimaryKey(String id);

    /**
     * 删除记录
     * @param id
     * @return 受影响的行数
     */
    public Integer deleteLogicPurchaseReturnDOByPrimaryKey(String id);

}